﻿<%@ Page Language="c#" CodeBehind="Salary.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="ud_gSDMS.Member.Salary" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register TagPrefix="uc1" TagName="PostList" Src="~/gSDMSModule/UpdateData/LeftMenuItem.ascx" %>
<%@ Register src="~/gSDMSModule/UpdateData/TopSearchItem.ascx" tagname="TopSearchItem" tagprefix="uc2" %>
<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">


<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper gSDMS">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class=""><uc2:TopSearchItem ID="TopSearchItem1" runat="server" /></div>
        <div class="leftmenucontent">
            <uc1:PostList ID="leftMenuItem" runat="server" />
        </div>
        <div class="modulecontent">
<%--            <asp:UpdatePanel ID='updatePanel' runat="server" >
                <ContentTemplate>--%>
            <div class="field">    
                
                 <%--<mp:SiteLabel ID="lblInfo" CssClass="title info" runat="server" ResourceFile="gSDMSResource" ConfigKey="gSDMSHostingPackage" />--%>
                <div class="div_title">
                    <a href="/gsdmsmodule/UpdateData/UpdateMember_Full.aspx?pageid=16">Thành viên</a>
                    &nbsp;>&nbsp;
                    <a href="">Lương- phụ cấp</a>
                </div>
                

                <br /><br />

                <div class="div_Edit">
                <div class="scroll">
                    <table cellpadding='5' cellspacing='0' border='0' width='auto' class="tb_edit">
                         <tr >
                            <td colspan="4">
                                <table>
                                    <tr class="div_title_parent">
                                        <td class="div_title div_title_group">QUÁ TRÌNH LƯƠNG CỦA NHÂN VIÊN:</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">
                                <asp:GridView runat="server" ID="gvChildInfo" AutoGenerateColumns="False" CssClass="gvData"
                                RowStyle-CssClass="rowstyle" 
                                    AlternatingRowStyle-CssClass="AlternatingRowStyle" 
                                    onrowcancelingedit="gvChildInfo_RowCancelingEdit" 
                                    onrowediting="gvChildInfo_RowEditing" 
                                    onrowupdating="gvChildInfo_RowUpdating" EnableModelValidation="True" 
                                    onrowdeleting="gvChildInfo_RowDeleting" EmptyDataText="Khong co du lieu">

                                    <Columns>
                                     <asp:TemplateField HeaderText="Tháng-Năm" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrThangNam" runat="server" Text='<%# Eval("ThangNam") %>'/>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt1" runat="server" Text='<%# Eval("ThangNam") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Mã Ngạch" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrMaNgach" runat="server" Text='<%# Eval("ud_DM_MaNgach.Ngach") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                    <asp:DropDownList runat="server" ID="drdl_ngach" OnLoad="ngach_Load"  />
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Bậc" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrBac" runat="server" Text='<%# Eval("ud_DM_Bac.Name") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                    <asp:DropDownList runat="server" ID="drdl_bac" OnLoad="bac_Load"  />
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Hệ Số" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHeSo" runat="server" Text='<%# Eval("ud_DM_HeSo.Name") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                    <asp:DropDownList runat="server" ID="drdl_heso" OnLoad="heso_Load"  />
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="85%" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltr85pc" runat="server" Text='<%# Eval("Pc85") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt5" runat="server" Text='<%# Eval("Pc85") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                      <asp:TemplateField HeaderText="HSPCTN" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCTN" runat="server" Text='<%# Eval("HSPCTN") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt6" runat="server" Text='<%# Eval("HSPCTN") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                      <asp:TemplateField HeaderText="HSPCTH" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCTH" runat="server" Text='<%# Eval("HSPCTH") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt7" runat="server" Text='<%# Eval("HSPCTH") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                      <asp:TemplateField HeaderText="HSPCDH" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCDH" runat="server" Text='<%# Eval("HSPCDH") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt8" runat="server" Text='<%# Eval("HSPCDH") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                      <asp:TemplateField HeaderText="HSPCKV" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCKV" runat="server" Text='<%# Eval("HSPCKV") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt9" runat="server" Text='<%# Eval("HSPCKV") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                      
                                     <asp:TemplateField HeaderText="HSPCDT" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCDT" runat="server" Text='<%# Eval("HSPCDT") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt11" runat="server" Text='<%# Eval("HSPCDT") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="HSPCVK" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCVK" runat="server" Text='<%# Eval("HSPCVK") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt12" runat="server" Text='<%# Eval("HSPCVK") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="HSPC#" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHSPCT" runat="server" Text='<%# Eval("HSPCKhac") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt13" runat="server" Text='<%# Eval("HSPCKhac") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Lý do" ItemStyle-CssClass="gvItem ta_left padlr" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrLyDo" runat="server" Text='<%# Eval("LyDo") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt14" runat="server" Text='<%# Eval("LyDo") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:CommandField HeaderStyle-CssClass="gvHeader" HeaderText="Chức năng" 
                                            ItemStyle-CssClass="gvItem ta_left" ShowEditButton="True" ShowDeleteButton="True">
                                                
                                            <HeaderStyle CssClass="gvHeader" />
                                            <ItemStyle CssClass="gvItem ta_cen div_chucnang" />
                                        </asp:CommandField>
                                </Columns>
                               </asp:GridView>
                            </td>
                        </tr>
                        <tr><td></td></tr>
                        <tr>
                            <td> <asp:Button  CssClass="btn btn_insert" ID="BtnInsert" Text="Thêm quá trình" CommandName="Btn_Insert" runat="server" CommandArgument='<%# Eval("ThangNam") %>' /></td>
                        </tr>
                    </table>
                    </div>
                </div>
                </div>
<%--                </ContentTemplate>
            </asp:UpdatePanel>--%>
                
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
